
<div class="main2_right">
    <div class="pinned">
        <div class="main2_right1">
            {dede:field.typeid function="GetTopTypename(@me)"/}
        </div>
        <div class="main2_right2">
            <ul>
                {dede:channel type='son' currentstyle="
                <li><a href='~typelink~' class='thisclass'>~typename~</a></li>
                "}
                <li><a href='[field:typeurl/]'>[field:typename/]</a></li>
                {/dede:channel}
            </ul>
        </div>
    </div>
</div>

<script src="http://cdn.bootcss.com/jquery/1.9.1/jquery.min.js"></script>
<script src="http://www.bootcss.com/p/jquery.pin/jquery.pin.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript"> 
$(function(){
	$(".pinned").pin({containerSelector: "#main2", minWidth: 940});
})
</script>

